from flask_wtf import FlaskForm
from wtforms import StringField,PasswordField,SubmitField,FileField,TextAreaField,SelectField
from wtforms.validators import  DataRequired,ValidationError

class SearchForm(FlaskForm):
    content = StringField(
        label='片名',
        validators=[DataRequired('片名不能为空')],
        description='电影的片名',
        description1='电影的片名1',
        render_kw={
            'class':'keywords ui-autocomplete-inpgongneng',
            'id':'keyword'
        }
    )